package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.dao.base.BaseMapper;
import cn.com.thinvent.dispatch.entity.ModelTaskTargetMapping;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ModelTaskTargetMappingMapper extends BaseMapper<ModelTaskTargetMapping> {

    Integer deleteById(@Param("id") Integer id);

    List<ModelTaskTargetMapping> getListByTaskId(@Param("taskId") Integer taskId);

    Integer deleteByTaskId(@Param("taskId") Integer taskId);

    List<ModelTaskTargetMapping> getListByTargetId(@Param("targetId") Integer targetId);


}
